package com.crm.pojo;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Date;


/**
 * The persistent class for the CLIENT_NEED database table.
 * 
 */
@Entity
@Table(name="CLIENT_NEED")
@NamedQuery(name="ClientNeed.findAll", query="SELECT c FROM ClientNeed c")
public class ClientNeed implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(initialValue = 1, allocationSize = 1,name="CLIENT_NEED_NEEDID_GENERATOR", sequenceName="SEQ1")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="CLIENT_NEED_NEEDID_GENERATOR")
	@Column(name="NEED_ID")
	private Long needId;

	@Column(name="CHANCE_ID")
	private BigDecimal chanceId;

	@Column(name="CLIENT_ID")
	private BigDecimal clientId;

	@Column(name="CLIENT_NEED_IS_DEL")
	private String clientNeedIsDel;

	@Column(name="CONTACT_ID")
	private BigDecimal contactId;

	private String importance;

	@Column(name="NEED_CONTENT")
	private String needContent;

	@Column(name="NEED_THEME")
	private String needTheme;

	@Column(name="RECORD_TIME")
	@JSONField(format="yyyy-MM-dd")
	private Date recordTime;

	public ClientNeed() {
	}

	public Long getNeedId() {
		return this.needId;
	}

	public void setNeedId(Long needId) {
		this.needId = needId;
	}

	public BigDecimal getChanceId() {
		return this.chanceId;
	}

	public void setChanceId(BigDecimal chanceId) {
		this.chanceId = chanceId;
	}

	public BigDecimal getClientId() {
		return this.clientId;
	}

	public void setClientId(BigDecimal clientId) {
		this.clientId = clientId;
	}

	public String getClientNeedIsDel() {
		return this.clientNeedIsDel;
	}

	public void setClientNeedIsDel(String clientNeedIsDel) {
		this.clientNeedIsDel = clientNeedIsDel;
	}

	public BigDecimal getContactId() {
		return this.contactId;
	}

	public void setContactId(BigDecimal contactId) {
		this.contactId = contactId;
	}

	public String getImportance() {
		return this.importance;
	}

	public void setImportance(String importance) {
		this.importance = importance;
	}

	public String getNeedContent() {
		return this.needContent;
	}

	public void setNeedContent(String needContent) {
		this.needContent = needContent;
	}

	public String getNeedTheme() {
		return this.needTheme;
	}

	public void setNeedTheme(String needTheme) {
		this.needTheme = needTheme;
	}

	public Date getRecordTime() {
		return this.recordTime;
	}

	public void setRecordTime(Date recordTime) {
		this.recordTime = recordTime;
	}

}